﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Web;

namespace SistemaAdministracion.Models.BaseClass
{
    [Table("usuariorole", Schema = "cuentas")]
    public class UsuarioRol
    {

        [Column("id")]        
        public int id { get; set; }
        [Column("idrole")]
        public int idRole { get; set; }
        [Column("iduser")]
        public int idUser { get; set; }

        public virtual Usuario User { get; set; }
        public virtual Role Role { get; set; }

    }
}